const assembly = {
  //左侧组件库列表
  assemblyList: [
    {
      title: '常用组件',
      group: 'common',
      list: [
        {
          type: 'singleLineText',
          label: '单行文本',
          icon: 'single.png'
        },
        {
          type: 'textarea',
          label: '多行文本',
          icon: 'textarea.png'
        },
        {
          type: 'richText',
          label: '富文本',
          icon: 'richText.png'
        },
        {
          type: 'drop',
          label: '下拉框',
          icon: 'drop.png'
        },
        {
          type: 'radio',
          label: '单选框',
          icon: 'radio.png'
        },
        {
          type: 'checkbox',
          label: '复选框',
          icon: 'checkbox.png'
        },
        {
          type: 'open',
          label: '开关',
          icon: 'open.png'
        },
        {
          type: 'slider',
          label: '滑块',
          icon: 'slide.png'
        },
        {
          type: 'inputNumber',
          label: '计数器',
          icon: 'number.png'
        },
        {
          type: 'date',
          label: '日期',
          icon: 'date.png'
        },
        {
          type: 'time',
          label: '时间',
          icon: 'time.png'
        }
      ]
    },
    {
      title: '布局组件',
      group: 'layout',
      list: [
        {
          type: 'group',
          label: '分组组件',
          icon: 'group.png'
        }
      ]
    }
  ],
  //组件事件参数
  assemblyParams: {
    group: {
      child: []
    },
    singleLineText: {
      placeholder: '单行文本',
      key: 'key',
      require: false
    },
    textarea: {
      placeholder: '多行文本',
      rows: 5,
      key: 'key',
      require: false
    },
    richText: {
      key: 'key',
      require: false
    },
    drop: {
      key: 'key',
      placeholder: '下拉框',
      child: [
        {
          label: 'A',
          value: 'A'
        },
        {
          label: 'B',
          value: 'B'
        }
      ],
      require: false
    },
    radio: {
      key: 'key',
      child: [
        {
          label: 'A',
          value: 'A'
        },
        {
          label: 'B',
          value: 'B'
        }
      ],
      require: false
    },
    checkbox: {
      key: 'key',
      child: [
        {
          label: 'A',
          value: 'A'
        },
        {
          label: 'B',
          value: 'B'
        }
      ],
      require: false
    },
    open: {
      key: 'key',
      require: false
    },
    slider: {
      key: 'key',
      min: 1,
      max: 100,
      step: 1,
      showStops: true,
      showInput: true,
      require: false
    },
    inputNumber: {
      key: 'key',
      min: 1,
      max: 100,
      step: 1,
      require: false
    },
    date: {
      key: 'key',
      placeholder: "选择日期",
      dateType: 'month',
      separator: '~',
      startPlaceholder: '开始日期',
      endPlaceholder: '结束日期',
      format: 'yyyy-MM-dd',
      require: false
    },
    time: {
      key: 'key',
      placeholder: "选择时间",
      isRange: true,
      separator: '~',
      startPlaceholder: '开始时间',
      endPlaceholder: '开始时间',
      require: false
    }
  }
};
export default assembly;
